package com.company;

import java.util.Scanner;

public class HJ21 {
    public static void main(String args[]){
        Scanner in = new Scanner(System.in);
        String line=in.nextLine();
        for(int i=0;i<line.length();i++){
            if(Character.isUpperCase(line.charAt(i))){
                if((line.charAt(i)+32)=='z'){
                    System.out.print('a');
                }else {
                    System.out.print((char) (line.charAt(i) + 33));
                }
            }else if(Character.isLowerCase(line.charAt(i))){
                if(line.charAt(i)>='a' && line.charAt(i)<='c'){
                    System.out.print(2);
                }else if(line.charAt(i)>='d' && line.charAt(i)<='f'){
                    System.out.print(3);
                }else if(line.charAt(i)>='g' && line.charAt(i)<='i'){
                    System.out.print(4);
                }else if(line.charAt(i)>='j' && line.charAt(i)<='l'){
                    System.out.print(5);
                }else if(line.charAt(i)>='m' && line.charAt(i)<='o'){
                    System.out.print(6);
                }else if(line.charAt(i)>='p' && line.charAt(i)<='s'){
                    System.out.print(7);
                }else if(line.charAt(i)>='t' && line.charAt(i)<='v'){
                    System.out.print(8);
                }else if(line.charAt(i)>='w' && line.charAt(i)<='z'){
                    System.out.print(9);
                }
            }else{
                System.out.print(line.charAt(i));
            }
        }
    }
}